package bean;

import java.time.LocalDate;

public class RoomBean {
    private Integer id;
    private String address;
    private Integer price;
    private LocalDate createDate;

    public RoomBean() {
    }

    public RoomBean(String address, Integer price, LocalDate createDate) {
        this.address = address;
        this.price = price;
        this.createDate = createDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public LocalDate getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDate createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "RoomBean{" +
                "id=" + id +
                ", address='" + address + '\'' +
                ", price=" + price +
                ", createDate=" + createDate +
                '}'+"\n";
    }
}
